2018-06-11

Sparse stuff:

  • Each processor has a specific set of instructions, called Instruction Set Architecture (ISA)

  • Bit: transistor/switch (on or off)

Assembly language

def. a low-level symbolic code converted by an assembler

ex.

> mov a1, 061h :
  load in register a1 the content of memory location of adress 061h

easier to write but codes are extremely long and hard to read and understand

high-level languages

easier to write and read algorithms

> 1972: Dennis Ritchie at Bell telephone
        Labs develops the C language

> 1979: Bjarne Stroustrup at Bell Labs
        design and implement C++
        (C with classes)

More sparse stuff:

  • compiler: g++

  • command line debugger: gdb

    • not really practical to use
  • Integrated Development Environment (IDE)

  • ##:

    • single line: //
    • multiple lines: /* ... */

multiple file programs and header files

sparse stuff:

types

operations for variable modification

prefix and postfix

implicit type conversion

ex.

Sys.time()
## [1] "2018-07-02 15:31:05 +03"